package com.jnxg.smartcommunity.activity.user;

import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;

import com.jnxg.smartcommunity.R;
import com.jnxg.smartcommunity.activity.BaseActivity;

public class UserYanZhengActivity extends BaseActivity implements View.OnClickListener {
    private Button btn_coomit;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_user_yanzheng);
        initView();
    }
    public void initView(){
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
            Window window = getWindow();
            // Translucent status bar 这是顶部的沉浸式
            window.setFlags(
                    WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS,
                    WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
        }
        btn_coomit =   (Button) findViewById(R.id.btn_coomit);
        btn_coomit.setOnClickListener(this);
    }

    @Override
    public void onClick(View arg0) {
        if(arg0.getId()==R.id.btn_coomit){
            Intent intent = new  Intent(UserYanZhengActivity.this, UserUpdateActivity.class);
            startActivity(intent);
        }
        }

}
